package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.youlai.boot.system.model.entity.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 首页视图对象
 *
 * @author youlaitech
 * @since 2025-02-21 14:51
 */
@Getter
@Setter
@Schema( description = "首页视图对象")
public class TaskTableVO implements Serializable {
    private User user;
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "序号")
    private Long id;
    @Schema(description = "任务名称")
    private String taskname;
    @Schema(description = "任务负责人人")
    private String taskcharge;
    @Schema(description = "任务创建时间")
    private LocalDateTime addtime;
    @Schema(description = "任务优先级")
    private String taskpriority;
    @Schema(description = "任务预计开始时间")
    private LocalDateTime predictstart;
    @Schema(description = "任务预计结束时间")
    private LocalDateTime predictcompletion;
    @Schema(description = "任务实际开始时间")
    private LocalDateTime commencement;
    @Schema(description = "任务实际结束时间")
    private LocalDateTime closure;
    @Schema(description = "剩余时间")
    private Double shengyu;
    @Schema(description = "耗时")
    private Double elapsed;
    @Schema(description = "任务状态（1已完成/0未完成）")
    private Integer state;
    @Schema(description = "归档状态（1已归档/0未归档")
    private Integer archive;



}
